#pragma once

#include "Titlebar.h"

namespace Softwarer
{
	class SKINNER_EXPORT PanelDecorator : public QWidget
	{
		Q_OBJECT

	public:
		PanelDecorator(ITitlebar* titlebar, QWidget* widget);

		void setTitle(const QString& title);

		~PanelDecorator();

	private:
		QWidget* m_widget;
		ITitlebar* m_titlebar;
	};
}